'use strict'

const Controller = require('egg').Controller

class ReportController extends Controller {
  async getReportData() {
    const { ctx } = this
    const resBody = await ctx.service.managerrecord.report.getReportData(
      ctx.params.id
    )
    ctx.body = resBody
  }
}

module.exports = ReportController
